<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
  <!-- js导入 -->
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/locale/easyui-lang-zh_CN.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/ztree/jquery.ztree.all-3.5.js"></script>
  <!-- css 导入 -->
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/icon.css">
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/ztree/zTreeStyle.css">
  
  <SCRIPT type="text/javascript">
  var setting = {	};

	var zNodes =[
		 {name:"搜索引擎公司",children:[
		                          {name:"百度公司",children:[{name:"音乐",children:[{name:"华语乐坛top10"},{name:"韩语top10"},{name:"日语top10"}]},
		                                                 {name:"视频"},
		                                                 {name:"图片"}]},
		                          {name:"搜狐公司"},
		                          {name:"谷歌公司"}
		                          ]}
	];


		$(function(){
			$.fn.zTree.init($("#treeDemo"), setting, zNodes);
		});
		
	</SCRIPT>
</head>
<body>
        <h2>标准树 standardData.html</h2>
     	<ul id="treeDemo" class="ztree"></ul>

</body>
</html>